package com.xqh.service.pms;

import com.alibaba.fastjson.JSONArray;
import com.xqh.entity.pms.SysResource;
import com.xqh.base.service.BaseCrudService;

import java.util.List;

/**
 * sys_resource
 * 
 * @author xqh
 * @date 2017-11-03 17:24:06
 * @version 1.0.0
 * @copyright www.xqh.com
 */
public interface SysResourceService extends BaseCrudService<SysResource> {

    JSONArray getTreeData(SysResource dto);

    List<SysResource> getResourceByRole(String roleCode);

}